#include "error.h"
#include "iostream"
using namespace Error;
using namespace std;
int Error::no_of_errors =0;
int Error::cnt_of_errors =0;

double Error::error(const std::string& s)
{
	no_of_errors++;
	cout << "in line " << cnt_of_errors << "error: " << s << "\n";
	return 1;
}